package com.aipii.demo.rpcserver;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
	
	@RequestMapping("/get_user_info")
	public JSONObject getUserInfo() {
		JSONObject user = new JSONObject();
		user.put("name", "lilei");
		user.put("age", 20);
		return user;
	}
}
